package dadonas.xmlpersistence;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
*
* Used for java.lang.String type.
* 
* @author dadonas
* 
* @since 2011
* 
*/

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface XMLPersistenceString {
	
	/**
	 * The maximum characters accepted for the property value. If exceeds, an exception is thrown.
	 * 
	 */
	public int maxChars() default -1;
	
}
